package com.gky.gkytemplate.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 球队
 * @TableName team
 */
@TableName(value ="team")
@Data
public class Team implements Serializable {
    /**
     * id
     */
    @TableId(value = "id")
    private Integer id;

    /**
     * 球队名称
     */
    @TableField(value = "teamName")
    private String teamName;

    /**
     * 球队简介
     */
    @TableField(value = "teamProfile")
    private String teamProfile;

    /**
     * 球队头像
     */
    @TableField(value = "teamAvatar")
    private String teamAvatar;

    /**
     * 球队创建时间
     */
    @TableField(value = "createTime")
    private Date createTime;

    /**
     * 球队总冠军数量
     */
    @TableField(value = "championNums")
    private Integer championNums;

    /**
     * 球队位置
     */
    @TableField(value = "location")
    private String location;

    /**
     * 是否删除
     */
    @TableField(value = "isDelete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}